package com.qf.dao;

import com.qf.pojo.TbUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by 54110 on 2021/4/30.
 */
public interface UserRepository extends JpaRepository<TbUser,Integer> {

    TbUser findByUserName(String username);

    TbUser  findByEmail(String email);
}
